package com.google.code.chaotic.dto;

import java.util.Date;
import java.util.LinkedList;
import java.util.List;

//

public class CommuterDto extends UserDto {

	{
		userTypeId = UserType.COMMUTER.id;
	}

	/**
	 * @uml.property name="icPassport"
	 */
	private String icPassport;

	/**
	 * @uml.property name="issuingCountry"
	 */
	private String issuingCountry;

	/**
	 * @uml.property name="phoneNo"
	 */
	private String phoneNo;

	/**
	 * @uml.property name="male"
	 */
	private boolean male;

	/**
	 * @uml.property name="birthDate"
	 */
	private Date birthDate;

	/**
	 * @uml.property name="membershipStart"
	 */
	private Date membershipStart;

	/**
	 * @uml.property name="commutingHabitDtos"
	 * @uml.associationEnd multiplicity="(0 -1)" aggregation="composite"
	 *                     inverse=
	 *                     "commuter:com.google.code.chaotic.dto.CommutingHabit
	 */
	private List<CommutingHabitDto> commutingHabitDtos = new LinkedList<CommutingHabitDto>();

	//

	/** @uml.property name="icPassport" */
	public String getIcPassport() {
		return icPassport;
	}

	/** @uml.property name="icPassport" */
	public void setIcPassport(String icPassport) {
		this.icPassport = icPassport;
	}

	/** @uml.property name="issuingCountry" */
	public void setIssuingCountry(String issuingCountry) {
		this.issuingCountry = issuingCountry;
	}

	/** @uml.property name="issuingCountry" */
	public String getIssuingCountry() {
		return issuingCountry;
	}

	/** @uml.property name="phoneNo" */
	public String getPhoneNo() {
		return phoneNo;
	}

	/** @uml.property name="phoneNo" */
	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	/** @uml.property name="male" */
	public boolean isMale() {
		return male;
	}

	/** @uml.property name="male" */
	public void setMale(boolean male) {
		this.male = male;
	}

	/** @uml.property name="birthDate" */
	public Date getBirthDate() {
		return birthDate;
	}

	/** @uml.property name="birthDate" */
	public void setBirthDate(Date birthDate) {
		this.birthDate = birthDate;
	}

	/** @uml.property name="membershipStart" */
	public void setMembershipStart(Date membershipStart) {
		this.membershipStart = membershipStart;
	}

	/** @uml.property name="membershipStart" */
	public Date getMembershipStart() {
		return membershipStart;
	}

	/** @uml.property commutingHabitDtos" */
	public List<CommutingHabitDto> getCommutingHabits() {
		return commutingHabitDtos;
	}

	/** @uml.property commutingHabitDtos" */
	public void setCommutingHabits(List<CommutingHabitDto> habits) {
		this.commutingHabitDtos = habits;
	}

}
